﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TinyIM2013.Packets
{
    public class PSend_0826:PSend
    {

        public PHeader packetHead;
        public PSend_0826()
        {
 
        }
        public bool TryParse(byte[] packetData, out PSend packet)
        {
            PSend_0826 pSend = new PSend_0826();
            packet = pSend;
            try
            {
                pSend.packetHead = PacketUtility.GetPHead(packetData);
                return true;
            }
            catch
            {
                return false;
            }
        }

        public PHeader PacketHead
        {
            get { return this.packetHead; }
        }

        public byte[] GeneratePacket()
        {
            throw new NotImplementedException();
        }

        public void SendPacket()
        {
            throw new NotImplementedException();
        }

        public byte[] TeaKey
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public byte[] EncryptedData
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public byte[] DecryptedData
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        PHeader P.PacketHead
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        internal byte[] GetTEAKey(byte[] packetData)
        {
            throw new NotImplementedException();
        }
    }
}
